<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>水星探秘 | 星空天文台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 完整样式表 */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
        body { min-height: 100vh; color: #e0e0ff; overflow-x: hidden; }
        
        #starCanvas {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            background: radial-gradient(ellipse at bottom, #0a0c27 0%, #040618 100%);
        }

        .mercury-container { max-width: 1200px; margin: 0 auto; padding: 2rem; position: relative; }
        .mercury-header { text-align: center; margin: 3rem 0; }
        .mercury-title { 
            font-size: 2.8rem; color: #10b981; 
            text-shadow: 0 0 15px rgba(16, 185, 129, 0.3); 
        }

        /* 导航栏 */
        .nav-bar { display: flex; gap: 2rem; justify-content: center; margin-bottom: 3rem; }
        .nav-link { 
            color: #90e0ef; text-decoration: none; padding: 0.8rem 1.5rem; 
            border-radius: 2rem; transition: all 0.3s ease; border: 1px solid transparent; 
        }
        .nav-link:hover { background: rgba(16, 185, 129, 0.1); border-color: #10b981; }
        .nav-link.active { background: rgba(16, 185, 129, 0.2); border-color: #10b981; }

        /* 图片区块 */
        .mercury-image { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .image-wrapper { 
            position: relative; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); 
        }
        .image-wrapper:hover { transform: scale(1.02); }
        .mercury-image img { width: 100%; height: auto; display: block; }
        
        /* 图片标注 */
        .image-overlay { 
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%); 
        }
        .data-marker { position: absolute; cursor: help; }
        .marker-line { 
            width: 40px; height: 2px; background: #10b981; 
            box-shadow: 0 0 8px rgba(16,185,129,0.5); transform-origin: left center; 
            transition: transform 0.3s ease; 
        }
        .marker-label { 
            display: block; padding: 6px 12px; background: rgba(16,185,129,0.15);
            border-radius: 4px; font-size: 0.9em; margin-top: 8px; transform: translateX(-10px);
            opacity: 0; transition: all 0.3s ease; 
        }
        .data-marker:hover .marker-line { transform: scaleX(1.5); }
        .data-marker:hover .marker-label { opacity: 1; transform: translateX(0); }

        /* 新增图片浮层样式 */
        .marker-image {
            position: absolute;
            width: 280px;
            height: 200px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
            border: 2px solid rgba(16, 185, 129, 0.7);
            opacity: 0;
            transform: scale(0.8) translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            z-index: 100;
        }

        .data-marker:hover .marker-image {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .marker-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-bottom: 2px solid rgba(16, 185, 129, 0.5);
        }

        .image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px 12px;
            background: rgba(0, 0, 0, 0.7);
            font-size: 0.9em;
            color: #10b981;
            text-align: center;
        }

        /* 调整标注位置 */
        .data-marker:nth-child(1) .marker-image {
            left: 50px;
            top: -80px;
        }

        .data-marker:nth-child(2) .marker-image {
            right: 50px;
            top: -80px;
        }

        /* 元信息 */
        .image-meta { 
            display: grid; gap: 1rem; padding: 1.5rem; 
            background: rgba(255,255,255,0.03); border-radius: 0 0 16px 16px; 
            border-top: 1px solid rgba(16,185,129,0.2); 
        }
        .meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.95em; color: #90e0ef; }
        .meta-item i { width: 20px; text-align: center; color: #10b981; }

        /* 特殊说明 */
        .supplement-note {
            background: rgba(16, 185, 129, 0.1);
            border-left: 4px solid rgba(16, 185, 129, 0.5);
            padding: 1.2rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
            position: relative;
            color: #c2f0e0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .supplement-note i {
            color: #10b981;
            font-size: 1.4em;
            margin-right: 12px;
            text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
        }

        /* 数据表格 */
        .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 2rem 0; }
        .fact-box { 
            background: rgba(255,255,255,0.05); border-radius: 16px; padding: 2rem; 
            margin: 1.5rem 0; border: 1px solid rgba(16, 185, 129, 0.3); 
            transition: transform 0.3s ease;
        }
        .data-table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
        .data-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .data-table td:first-child { color: #a78bfa; width: 40%; }
        .data-table tr:nth-child(odd) { background: rgba(255,255,255,0.02); }

        /* 时间线 */
        .timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
        .timeline::before { 
            content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%;
            background: linear-gradient(to bottom, transparent 0%, #10b981 30%, transparent 100%); 
        }
        .timeline-item { 
            margin-bottom: 2rem; position: relative; padding-left: 1.5rem; 
            line-height: 1.6;
        }
        .timeline-item::before { 
            content: ''; position: absolute; left: -8px; top: 5px; 
            width: 12px; height: 12px; background: #10b981; border-radius: 50%; 
        }

        /* 双列未解之谜样式 */
        .mystery-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 1.5rem;
            background: rgba(16, 185, 129, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(16, 185, 129, 0.2);
            margin: 2rem 0;
        }
        .mystery-column {
            padding: 1rem;
        }
        .mystery-item {
            margin-bottom: 1.5rem;
            padding: 1.2rem;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border-left: 3px solid #10b981;
        }
        .mystery-item h4 {
            color: #10b981;
            margin-bottom: 0.8rem;
        }
        .mystery-item p {
            font-size: 0.95em;
            line-height: 1.6;
            color: #c2f0e0;
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .info-grid, .mystery-grid { grid-template-columns: 1fr; }
            .mercury-container { padding: 1rem; }
            .mercury-title { font-size: 2rem; }
            .nav-bar { flex-wrap: wrap; gap: 1rem; }
            .data-table td { padding: 0.8rem; font-size: 0.95rem; }
            .marker-label { font-size: 0.8em; padding: 4px 8px; }
            .supplement-note { padding: 1rem; margin: 1rem 0; }
            .timeline-item { padding-left: 1rem; }
            .mystery-item { padding: 1rem; }
            
            .marker-image {
                width: 180px;
                height: 130px;
            }
            .data-marker:nth-child(1) .marker-image {
                left: 20px;
                top: -60px;
            }
            .data-marker:nth-child(2) .marker-image {
                right: 20px;
                top: -60px;
            }
        }
    </style>
</head>
<body>
    <canvas id="starCanvas"></canvas>
    
    <div class="mercury-container">
        <nav class="nav-bar">
            <a href="index.html" class="nav-link"><i class="fas fa-rocket"></i>太空首页</a>
            <a href="solar-system.html" class="nav-link"><i class="fas fa-solar-panel"></i>行星档案</a>
            <a href="mercury.html" class="nav-link active"><i class="fas fa-burn"></i>水星专题</a>
            <a href="contact.html" class="nav-link"><i class="fas fa-user-astronaut"></i>联系我们</a>
        </nav>

        <header class="mercury-header">
            <h1 class="mercury-title"><i class="fas fa-temperature-high"></i>水星探秘</h1>
            <p class="subtitle">太阳系最内侧的神秘世界</p>
        </header>

        <div class="info-grid">
            <div class="mercury-image">
                <div class="image-wrapper">
                    <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Mercury_in_true_color.jpg" alt="水星真实色彩照片">
                    <div class="image-overlay">
                        <div class="data-marker" style="top:30%;left:20%">
                            <div class="marker-line"></div>
                            <span class="marker-label">卡洛里斯盆地</span>
                            <div class="marker-image">
                                <img src="https://solarsystem.nasa.gov/system/resources/detail_files/2486_PIA19419-Mercury-CalorisBasin.jpg" 
                                     alt="卡洛里斯盆地特写">
                                <div class="image-caption">直径1550公里的撞击坑</div>
                            </div>
                        </div>
                        <div class="data-marker" style="top:65%;right:15%">
                            <div class="marker-line"></div>
                            <span class="marker-label">北极冰沉积区</span>
                            <div class="marker-image">
                                <img src="https://www.sci.news/images/enlarge6/image_10078_1-Mercury.jpg" 
                                     alt="北极冰沉积区雷达图像">
                                <div class="image-caption">雷达高反射区域分布</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="image-meta">
                    <div class="meta-item">
                        <i class="fas fa-camera"></i>
                        <span>拍摄设备：MDIS窄角相机</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-satellite"></i>
                        <span>信使号探测器 · 2013年采集</span>
                    </div>
                    <div class="meta-item">
                        <i class="fas fa-palette"></i>
                        <span>色彩合成：487nm/748nm/433nm波段</span>
                    </div>
                </div>
            </div>

            <div class="fact-box">
                <h3><i class="fas fa-atom"></i> 基本特征</h3>
                <table class="data-table">
                    <tr><td>直径</td><td>4,880 公里（地球的38%）</td></tr>
                    <tr><td>质量</td><td>3.3011×10²³ kg（地球的5.5%）</td></tr>
                    <tr><td>平均密度</td><td>5.427 g/cm³（仅次于地球）</td></tr>
                    <tr><td>表面重力</td><td>3.7 m/s²（地球的38%）</td></tr>
                    <tr><td>逃逸速度</td><td>4.25 km/s</td></tr>
                    <tr><td>反照率</td><td>0.088（最暗类地行星）</td></tr>
                    <tr><td>表面温度</td><td>-173℃ 至 427℃（温差最大行星）</td></tr>
                    <tr><td>自转周期</td><td>58.646 地球日（3:2 轨道共振）</td></tr>
                    <tr><td>公转周期</td><td>87.969 地球日</td></tr>
                    <tr><td>轨道离心率</td><td>0.2056（最椭圆轨道）</td></tr>
                    <tr><td>大气成分</td><td>氧 (42%)、钠 (29%)、氢 (22%)、氦 (6%)</td></tr>
                    <tr><td>磁场强度</td><td>地球的1.1%（全球性偶极磁场）</td></tr>
                </table>
                <div class="supplement-note">
                    <i class="fas fa-info-circle"></i> 特殊说明：水星的高密度（5.427 g/cm³）表明其含有异常巨大的铁核（约占体积的42%），其形成机制仍是行星科学的重要研究课题。
                </div>
            </div>
        </div>

        <div class="fact-box">
            <h3><i class="fas fa-question"></i> 未解之谜</h3>
            <div class="mystery-grid">
                <div class="mystery-column">
                    <div class="mystery-item">
                        <h4>异常巨大的金属核心</h4>
                        <p>▸ 核心半径达2,000公里，占行星半径的85%</p>
                        <p>▸ 最新质量损失模型显示可能曾与原始地球大小天体碰撞</p>
                    </div>
                    <div class="mystery-item">
                        <h4>极地冰沉积之谜</h4>
                        <p>▸ 雷达显示北极永久阴影区存在高反射物质</p>
                        <p>▸ 信使号中子谱仪检测到氢浓度异常</p>
                    </div>
                    <div class="mystery-item">
                        <h4>全球性磁场的维持机制</h4>
                        <p>▸ 强度为地球的1%，但具有清晰的偶极特征</p>
                        <p>▸ 核心可能通过硫化铁保持部分液态</p>
                    </div>
                </div>
                <div class="mystery-column">
                    <div class="mystery-item">
                        <h4>表面收缩率异常</h4>
                        <p>▸ 观测到的悬崖地形表明收缩率比理论预测低25%</p>
                        <p>▸ 可能暗示存在持续的地质活动</p>
                    </div>
                    <div class="mystery-item">
                        <h4>大气层再生机制</h4>
                        <p>▸ 稀薄外逸层持续再生现象</p>
                        <p>▸ 钠元素季节性浓度变化达300%</p>
                    </div>
                    <div class="mystery-item">
                        <h4>轨道共振起源</h4>
                        <p>▸ 3:2自转-公转共振形成机制争议</p>
                        <p>▸ 潮汐耗散模型与观测数据偏差达40%</p>
                    </div>
                </div>
            </div>
        </div>

        <div class="info-grid">
            <div class="fact-box">
                <h3><i class="fas fa-satellite"></i> 探测里程碑</h3>
                <div class="timeline">
                    <div class="timeline-item">
                        <h4>1974-1975 水手10号</h4>
                        <p>▲ 三次飞越共拍摄4,500张照片</p>
                        <p>▲ 首次发现全球性磁场</p>
                        <p>▲ 确定3:2轨道共振自转模式</p>
                    </div>
                    <div class="timeline-item">
                        <h4>2008-2015 信使号</h4>
                        <p>▲ 首个人造水星卫星</p>
                        <p>▲ 发现极地水冰沉积</p>
                        <p>▲ 绘制全球元素分布图</p>
                    </div>
                    <div class="timeline-item">
                        <h4>2025 BepiColombo</h4>
                        <p>△ 欧日联合探测任务</p>
                        <p>△ 携带高分辨率热成像仪</p>
                        <p>△ 计划解析核心结构</p>
                    </div>
                </div>
            </div>

            <div class="fact-box">
                <h3><i class="fas fa-chart-line"></i> 探测数据对比</h3>
                <table class="data-table">
                    <tr><td></td><td>水手10号</td><td>信使号</td><td>贝皮科伦坡</td></tr>
                    <tr><td>分辨率</td><td>150m</td><td>10m</td><td>5m</td></tr>
                    <tr><td>数据量</td><td>2.4GB</td><td>10TB</td><td>50TB+</td></tr>
                    <tr><td>新发现</td><td>15项</td><td>127项</td><td>进行中</td></tr>
                </table>
                <div class="supplement-note">
                    <i class="fas fa-lightbulb"></i> 技术进步：探测器分辨率提升30倍，数据传输速率从1.3kbps发展到2Mbps
                </div>
            </div>
        </div>
    </div>

    <script>
        // 星空粒子动画
        const canvas = document.getElementById('starCanvas');
        const ctx = canvas.getContext('2d');

        function resizeCanvas() {
            canvas.width = window.innerWidth;
            canvas.height = window.innerHeight;
        }
        resizeCanvas();
        window.addEventListener('resize', resizeCanvas);

        class Star {
            constructor() {
                this.reset();
            }
            
            reset() {
                this.x = Math.random() * canvas.width;
                this.y = Math.random() * canvas.height;
                this.z = Math.random() * 1500 + 500;
                this.size = Math.random() * 1.2 + 0.3;
                this.speed = Math.random() * 0.02 + 0.01;
                this.color = `hsl(${Math.random()*40 + 200}, 70%, ${Math.random()*30 + 70}%)`;
            }

            update() {
                this.z -= this.speed * 100;
                if (this.z <= 0) this.reset();
            }

            draw() {
                const scale = 50 / this.z;
                const alpha = 0.5 * scale * 2;
                
                ctx.beginPath();
                ctx.arc(
                    this.x + (this.x - canvas.width/2) * scale,
                    this.y + (this.y - canvas.height/2) * scale,
                    this.size * scale,
                    0,
                    Math.PI * 2
                );
                ctx.fillStyle = `rgba(144, 224, 239, ${alpha})`;
                ctx.fill();
            }
        }

        const stars = Array.from({length: 800}, () => new Star());

        function animate() {
            ctx.fillStyle = 'rgba(10, 12, 39, 0.1)';
            ctx.fillRect(0, 0, canvas.width, canvas.height);
            
            stars.forEach(star => {
                star.update();
                star.draw();
            });
            
            requestAnimationFrame(animate);
        }
        animate();

        document.addEventListener('mousemove', (e) => {
            stars.forEach(star => {
                const dx = e.clientX - star.x;
                const dy = e.clientY - star.y;
                const dist = Math.sqrt(dx*dx + dy*dy);
                if (dist < 100) {
                    star.x += dx * 0.02;
                    star.y += dy * 0.02;
                }
            });
        });

        document.addEventListener('DOMContentLoaded', () => {
            document.body.style.opacity = 0;
            setTimeout(() => { document.body.style.opacity = 1; }, 100);

            const currentPage = location.pathname.split('/').pop().toLowerCase();
            document.querySelectorAll('.nav-link').forEach(link => {
                const linkPage = link.getAttribute('href').toLowerCase();
                link.classList.toggle('active', linkPage === currentPage);
            });

            document.querySelectorAll('a').forEach(link => {
                link.addEventListener('click', function(e) {
                    if (this.href && this.href !== window.location.href) {
                        e.preventDefault();
                        document.body.style.opacity = 0;
                        setTimeout(() => { window.location.href = this.href; }, 500);
                    }
                });
            });

            document.querySelectorAll('.image-wrapper').forEach(img => {
                img.addEventListener('mousemove', (e) => {
                    const rect = img.getBoundingClientRect();
                    const x = (e.clientX - rect.left) / rect.width * 100;
                    const y = (e.clientY - rect.top) / rect.height * 100;
                    img.style.transform = `perspective(1000px) rotateX(${(y - 50)/4}deg) rotateY(${(x - 50)/4}deg) scale(1.02)`;
                });
                img.addEventListener('mouseleave', () => {
                    img.style.transform = 'none';
                });
            });
        });
    </script>
</body>
</html>